﻿using IdGen;
using System;
using Volo.Abp;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Shared.Domain
{
    public class LongEntityFullAudited : Entity<long>, IMultiTenant, IFullAuditedObject
    {
        protected LongEntityFullAudited() : base(new IdGenerator(0).CreateId())
        {
        }

        public Guid? TenantId { get; set; }

        public Guid? CreatorId { get; set; }
        public DateTime CreationTime { get; set; }



        public Guid? LastModifierId { get; set; }
        public DateTime? LastModificationTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public Guid? DeleterId { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletionTime { get; set; }




    }
}
